package com.itheima.service;
 
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.domain.Employee;
 
/**
 * @author jektong
 * @date 2022/4/21
 */
public interface EmployeeService extends IService<Employee> {

    public R<Employee> adminEmployeeLogin(Employee employee);

    public R<String> adminEmployeeLoginOut(String token);
    public R<String> adminEmployeeSave(Employee employee);

    public R<Employee> adminEmployeeSelectById(String id);

    public R<Page<Employee>> adminEmployeePageSelect(String name, Integer page, Integer pageSize);

    public R<String> adminUpdateEmployee (String token,  Employee employee);
}
 

